home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks96 / FlyPaper.sit / Fly Paper / FlyPaper Source / App Sources / FlyPaperApp.h < prev    next >
Text File  |  1996-06-22  |  1KB  |  59 lines

  1. #ifndef FLYPAPERAPP_H
  2. #define FLYPAPERAPP_H
  3.  
  4. #ifndef __PROCESSES__
  5. #include <Processes.h>
  6. #endif
  7.  
  8. #ifndef FLYPAPERINIT_H
  9. #include "FlyPaperINIT.h"
  10. #endif
  11.  
  12. #define    BGONLY    1
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. #define    kMiscStrs            128
  19.  
  20. enum {
  21.     kClippingsFolderStr = 1
  22. };
  23.  
  24. void Finalize (void);
  25. FlyPaperGestaltPtr GetINITData ();
  26. void ProcessPendingFiles ();
  27. void QueueUpFileForProcessing (FSSpec* spec);
  28.  
  29. typedef struct {
  30.  
  31.     Boolean hideFloats;        // A user controlled hide flag for showing/hiding floaters
  32.     Boolean blockFloats;    // An overriding hide flag for screen savers/full-screen apps
  33.     Boolean modalFloats;    // An overriding hide flag for our own modal dialogs
  34.  
  35.     EventRecord theEvent;    // The event currently being processed
  36.     QHdr forwardedEvents;    // A queue of EventRecords that are forwarded from our filter
  37.     QHdr allFloatWindows;    // A queue of WindowPtrs that track each TSM Floater that was
  38.                             //   installed, so that the filter can intercept their events.
  39.     
  40.     ProcessSerialNumber        myPSN;
  41.     
  42. } GlobalsRec;
  43.  
  44. extern Boolean                    gHasColorQD;
  45. extern Boolean                    gRunning;
  46. extern GlobalsRec                glob;
  47. extern short                    gResFile;
  48. extern Str255                    gClippingsFolderName;
  49. extern FSSpec**                    gPendingFiles;
  50. extern short                    gNuimPendingFiles;
  51.  
  52. long GetCurrentA5(void) ONEWORDINLINE(0x200D);
  53.  
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57.  
  58. #endif
  59.